package com.example.module_maintenance.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.BaseResponse
import com.bw.lib_common.model.BaseRepository
import com.example.module_maintenance.entity.RepairEntity
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface RepairApiService : BaseApiServer {
    @GET("/api/repair-orders")
    suspend fun getWeixiu():BaseResponse<List<RepairEntity>>

    @POST("/api/repair-orders")
    suspend fun addRepair(@Body body:RepairEntity) : BaseResponse<RepairEntity>

}